﻿//------------------------------------------------------------
// VRLauncher
// Copyright © 2024-2025.1 Song Ding
// UI列表的数据基类
//------------------------------------------------------------
using UnityEngine;

namespace VRLauncher
{
    public abstract class EntityFromListObjectData : EntityData
    {
        [SerializeField]
        private Transform m_parentUI;
        protected EntityFromListObjectData(int entityId, int typeId, Transform parentUI) : base(entityId, typeId)
        {
            m_parentUI = parentUI;
        }
        /// <summary>
        /// UI父物体
        /// </summary>
        public Transform ParentUI
        {
            get
            {
                return m_parentUI;
            }
            set
            {
                m_parentUI = value;
            }
        }

    }
}
